from django.conf.urls.defaults import patterns
from django.views.generic.simple import direct_to_template

urlpatterns = patterns('hoj.judge.views',
	(r'^$', direct_to_template, {'template': 'base.html'}),
	(r'm/$', 'm'),
	(r'm/problem', 'm_problem'),
    (r'^status', 'status'),
    (r'^problemlist/$', 'problemlist'),
    (r'^problem', 'problem'),
    (r'^submit', 'submit'),
    (r'^rank/$', 'rank'),
    (r'^userstatus', 'userstatus'),
    (r'^contestlist/$', 'contestlist'),
    (r'^showcontest', 'showcontest'),
    (r'^showsource', 'showsource'),
)
